<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>你好！${username}</h1>
    <table>
        <tr>
            <th>Name</th>
            <th>Age</th>
        </tr>
        <tr th:each="user : ${userList}">
            <td th:text="${user.username}">你好:${}</td>
            <td th:text="${user.password}">密码是：${}</td>
        </tr>
    </table>
    <ul th:each="user:${userList}">
        <li th:text="${user.username}">你好：${}</li>
        <li th:text="${user.password}">密码是：${}</li>
    </ul>

</body>
</html>